
<form id="form_batch">
<table>
	<tr align="center">
		<th><input type="checkbox" class="check" name="chkall" value="on" checked onclick="chkbox(this.form)"></th>
		<th>序号</th>
		<th>流水号</th>
		<th>入库员</th>
		<th>入库日期</th>
		<th>明细</th>
		<th>金额</th>
		<th>供应商</th>
		<th>送货单</th>
		<th>订购单</th>

		<th>备注</th>
		<th>状态</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} 
	{[assign var="no" value="`$key+1`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor='#FFFFFF'">
		<td><input type="checkbox" class="check" name="b_{[$item.id]}" value="{[$item.id]}" checked></td>
		<td>{[$no]}</td>
		<td>{[$item.id]}</td>
		
		<td>{[$item.emp_t]}</td>
		<td>{[$item.date]}</td>
		<td>{[$item.num_]}</td>
		<td>{[$item.total]}</td>
		
		<td>{[$item.supplier_t]}</td>
		<td>{[$item.number]}</td>
		<td>{[$item.purchase]}</td>
		<td>{[$item.content|truncate:21:"...":true]}</td>

		<td>{[$item.status_t]}</td>
	</tr>
	{[/foreach]}
</table>
</form>
